#include "mpi.h"
#include "M3.h"
#include <iostream>
#include "libsvm.h"

using namespace std;

int main(int argc,char * argv[]){

// M3::initialize(argc,argv);
 // M3::load_train_data();
 //M3::divide_train_data();
 // M3::training_train_data();
  //  M3::classify_test_data();
// M3::finalize();
	libsvm_parameter param;
	libsvm* svm = new libsvm(param);
	cout<<"loading model"<<endl;
	svm->load_model("Subset/4");
	svm->save_model("Subset/4.back");
	
  
//    MPI_Init(&argc,&argv);
//    cout << "~~~~~~~~~~~~~~~~~~~~~~~~~~" << endl;
//    MPI_Finalize();

  return 0;
}
